<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="telephone=no" name="format-detection" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>会员介绍</title>
<link type="text/css" rel="stylesheet" href="css/index.css">
  <link rel="stylesheet" type="text/css" href="css/dizist.css">
  <link href="css/bootstrap.min.css" rel="stylesheet">
  <link href="css/style1.css" rel="stylesheet">
  <script type="text/javascript" src="js/jquery.min.js"></script>
  <script src="js/vue.js"></script>
</head>
<body>
<div id="el">
<div class="about_box">
  <div class="share_title">品牌介绍/等级介绍<span>2020-04 <!--浏览量：241次--></span></div>
  <div class="about">
    <p> 欢迎您加入禄舍轩，您在平台任何产品的消费都可获得对应成长值，累计到一定成长值并进行<a href="javascript:" @click="toupgrade()" style="color: red;font-size: 18px"><strong>升级</strong></a>，即可升级会员等级。<br />
      <br />
      会员等级说明：
      <br />
      <br />
        <div v-for="vip in vips">
        <span v-text="vip.lvName"></span>:累计成长值满<span v-text="vip.lvPoints"></span>点的活力级会员。 <br /><br />
        </div>
      (各等级可享受对应会员权益，升级后即可享受新等级的会员权益) </p>
  </div>
</div>
  <div style="height: 50px;"> </div>

  <div class="footnav" style="z-index: 999">
    <div class="col-xs-3 text-center"><a href="/weixin/shoppingMall"><i class="iconfont icon-shop"></i><p>商城</p></a></div>
    <div class="col-xs-3 text-center"><a href="details.html"><i class="iconfont icon-huodongfj"></i><p>关于我们</p></a></div>
    <div class="col-xs-3 text-center"><a href="/weixin/shoppingmall/my-order.html"><i class="iconfont icon-liebiao"></i><p>订单中心</p></a></div>
    <div class="col-xs-3 text-center"><a href="mendian.html"><i class="iconfont icon-dizhi"></i><p>附近门店</p></a></div>
  </div>

</div>
<script type="text/javascript">
  var a=new Vue({
    el:"#el",
    data:{
      vips:[

      ]
    },
    created:function(){
      this.queryMeal();
    },
    methods:{
      queryMeal:function(){
        var _this=this;
        $.ajax({
          url:"/weixin/user/queryAllVip",
          data:{},
          dataType:"json",
          Type:"get",
          success:function (data) {
            console.log(data);
            if(data.li!=null){
              for (var i = 1;i < data.li.length;i++){
                _this.vips.push(data.li[i]);
              }
            }
          }
        })
      },
      toupgrade:function () {
        $.ajax({
          url: "/weixin/checkUserIsExit",
          data: {},
          dataType: "json",
          Type: "get",
          success:function(data){
            if(data.message=="success"){
              location.href="upgrade.html";
            }else{
              alser("请先关注公众号");
              location.href="index.html";
            }
          }
        })
      },

    },

  })
</script>

</body></html>